/**
 * @Author:  renyc
 * @Date: 2022年12月13日23:34:16
 */
'use strict';

class DataZoom{
    constructor(){
        this._option = {
            // type: 'inside',
            show    : true,
            realtime: true,
            start   : 0,
            end     : 0,
            
        }
    }

    get option(){
        return this._option;
    }

    setRange(start, end){
        this._option.start = start;
        this._option.end = end;
    }

    get start(){
        return this._option.start;
    }

    set start(value){
        this._option.start = value;
    }

    get end(){
        return this._option.end;
    }

    set end(value){
        this._option.end = value;
    }

    get show(){
        return this._option.show;
    }

    set show(value){
        this._option.show = value;
    }

    get realtime(){
        return this._option.realtime;
    }

    set realtime(value){
        this._option.realtime = value;
    }

    get type(){
        return this._option.type;
    }

    set type(value){
        this._option.type = value;
    }
}

export default DataZoom;